module.exports = app => {
  const { router, controller } = app;
  router.post('/userAnswer/commit', controller.userAnswerController.commit);
  router.post('/userAnswer/get', controller.userAnswerController.get);
  router.post('/userAnswer/getUserAllAnswer', controller.userAnswerController.getUserAllAnswer);
  router.post('/userAnswer/getUserQuestionAnswer', controller.userAnswerController.getUserQuestionAnswer);
  router.post('/userAnswer/userIsRight', controller.userAnswerController.userIsRight);
};